//
//  MerchantNavView.m
//  StandardizedProduct
//
//  Created by 宁宁 on 16/8/3.
//  Copyright © 2016年 ym. All rights reserved.
//

#import "MerchantNavView.h"

@implementation MerchantNavView

/**返回*/
- (IBAction)back:(id)sender {
    _MerchantNavClick(0, @"");
}

/**分类*/
- (IBAction)categroy:(id)sender {
    _MerchantNavClick(1, @"");
}

/**更多*/
- (IBAction)more:(id)sender {
    _MerchantNavClick(2, @"");
}

- (BOOL)textFieldShouldReturn:(UITextField *)textField{
    _MerchantNavClick(3, _searchTextField.text);
    [textField resignFirstResponder];
    return YES;
}


@end
